<!DOCTYPE html>
<html lang="en">

<head>
        {ms:include filename=headFile.htm/} 
</head>

<body>
    <div id="appCtrl" v-locak>
        <mt-header title="我的">
            <a href="javascript:;" @click="history.go(-1)" slot="left">
                <mt-button icon="back"></mt-button>
            </a>
        </mt-header>

        <div class="mine-header">
            <div>
                <div class="avator">
                    <img src="{ms:globalskin.url/}/images/avator.png" alt="">
                </div>
                <p id="welcome"><a href="{ms:global.url/}/183/index.html">登录</a> / <a href="{ms:global.url/}/182/index.html">注册</a></p>
            </div>
        </div>

        <div class="double-link" style="display:none">
            <a href="">
                <i class="i1"></i>
                <div>
                    <h3>实名认证</h3>
                    <p class="cGray">未认证</p>
                </div>
            </a>
            <a href="">
                <i class="i2"></i>
                <div>
                    <h3>优惠券</h3>
                    <p class="cGray">暂无可用优惠券</p>
                </div>
            </a>
        </div>

        <div class="order-menus" style="display:none">
            <a href="">
                <i class="i1"></i>
                <p class="cGray">保障中</p>
            </a>
            <a href="">
                <i class="i2"></i>
                <p class="cGray">待支付</p>
            </a>
            <a href="">
                <i class="i3"></i>
                <p class="cGray">待续费</p>
            </a>
            <a href="">
                <i class="i4"></i>
                <p class="cGray">我的保单</p>
            </a>
        </div>
        <div class="mine-menus">
            <mt-cell
              icon="icon-claims"
              title="申请理赔"
              to="{ms:global.url/}/154/index.html"
              is-link>
            </mt-cell>
        </div>
        <div class="mine-menus" >
          
            <mt-cell
              icon="icon-service"
              title="我的客服"
              to="{ms:global.url/}/184/index.html"
              is-link>
            </mt-cell>
            <mt-cell
              icon="icon-saft"
              title="公告列表"
              to="{ms:global.url/}/59/70/index.html"
              is-link>
            </mt-cell>
        </div>
        <div class="mine-menus">
            <mt-cell
              icon="icon-setting"
              style="margin-top:10px"
              title="设置"
              to="{ms:global.url/}/187/index.html"
              is-link>
            </mt-cell>
        </div>
       
       	{ms:include filename=foot.htm/} 
    </div>
    <script>
	
	$.ajax({
                         type: 'POST',
                        url:'http://test.51dfs.cn/kder-api/user/checkLogin.do',
                        data:{},
						dataType:'json',
                        success:function(res){
                            if(res.code==="0"){
                                   var welcomeName = '';
                                  if(res.data.loginUser.peopleName){
                                        welcomeName  = res.data.loginUser.peopleName;
                                    }else{
                                         welcomeName  = res.data.loginUser.peoplePhone;
                                    }
                                 $("#welcome").text(welcomeName);
                                 //$("#myOrder").show();
                                 //$("#logouta").show();
                                 //$("#logina").hide();
                                 //$("#registera").hide();
                            }else{
                                
                            }
                        }
                    });
                  //end ajax
				  
    var vm = new Vue({
        el: '#appCtrl',

        data: function(){
        	return {
        		
        	}
        },
		
        methods:{


        }
    })
    </script>
</body>

</html>
